package cn.gov.msa.model;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import cn.gov.msa.util.JsonDate;

public class Notice extends BaseObj {
	
	private String noticeId;//通知公告主键
	private String title; //标题
	private String orgCode;//发布机构代码
	private String orgName;//机构名称
	private Date   publishTime;//发布时间
	private String pu;
	private String contents;//发布内容
	private String symbol;//公告文号SYMBOL
	private String range;//发布范围 RANGE
	
	private Date   asofDate;//截止日期ASOFDATE
	private boolean isDue;  //判断是否已过期
	private String top; //是否置顶TOP 
	private Date   failDate;//失效时间FAILDATE
	private String theme;//主题题材THEME
	private String label;//信息标签LABEL	
	private String evaluation;//是否开启评价EVALUATION
	private String fileId;//附件ID
	private String file;
	private String fileName; //附件名称
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	private Date startDate; //开始时间
	private Date endDate;  //结束时间
	
	
	
	public String getPu() {
		return pu;
	}
	public void setPu(String pu) {
		this.pu = pu;
	}
	public String getFile() {
		return file;
	}
	public void setFile(String file) {
		this.file = file;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public Date getStartDate() {
		return startDate;
	}
	@JsonDeserialize(using=JsonDate.class)
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	@JsonDeserialize(using=JsonDate.class)
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getSymbol() {
		return symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	
	public String getRange() {
		return range;
	}
	public void setRange(String range) {
		this.range = range;
	}
	public Date getAsofDate() {
		return asofDate;
	}
	@JsonDeserialize(using=JsonDate.class)  
	public void setAsofDate(Date asofDate) {
		this.asofDate = asofDate;
	}
	public Boolean getIsDue() {
		return isDue;
	}
	
	public void setIsDue(boolean isDue) {
		this.isDue = isDue;
	}
	public String getTop() {
		return top;
	}
	public void setTop(String top) {
		this.top = top;
	}
	public Date getFailDate() {
		return failDate;
	}
	
	@JsonDeserialize(using=JsonDate.class)  
	public void setFailDate(Date failDate) {
		this.failDate = failDate;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public String getEvaluation() {
		return evaluation;
	}
	public void setEvaluation(String evaluation) {
		this.evaluation = evaluation;
	}
	public String getNoticeId() {
		return noticeId;
	}
	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	@JsonDeserialize(using=JsonDate.class)  
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}

}
